package com.itheima.job3;

public class Test {
   public static void main(String[] args) {
      Clerk clerk = new Clerk();
      Manager manager = new Manager();
      clerk.setDept("销售部");
      clerk.setId("C001");
      clerk.setName("李小亮");

      manager.setDept("销售部");
      manager.setId("M001");
      manager.setName("张小强");
      clerk.setManager(manager);
      manager.setClerk(clerk);
      clerk.shwMsg( clerk,manager);
      manager.shwMsg( clerk,manager);

   }

}
